﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoreShop.Model
{
    /// <summary>
    /// 支付实体
    /// </summary>
    [SqlSugar.SugarTable("corecmspayments")]
    public class corecmspayments
    {
        /// <summary>
        /// 支付Id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "id", IsPrimaryKey = true)]
        public System.Int32 id { get; set; }

        /// <summary>
        /// 品牌id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "corpId", IsNullable = false)]
        public Int32 corpId { get; set; }

        /// <summary>
        /// 门店id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "storeId", IsNullable = false)]
        public Int64 storeId { get; set; }

        /// <summary>
        /// 支付编码
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "code")]
        public string code { get; set; }
        /// <summary>
        /// 支付名字
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "name")]
        public string name { get; set; }
        /// <summary>
        /// 支付名字
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "isOnline")]
        public System.Boolean isOnline { get; set; }


        /// <summary>
        /// 参数
        /// </summary>
        [SugarColumn(ColumnDescription = "参数", IsNullable = true)]
        public System.String parameters { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        [SugarColumn(ColumnDescription = "排序")]
        public System.Int32 sort { get; set; }
        /// <summary>
        /// 方式描述
        /// </summary>
        [SugarColumn(ColumnDescription = "方式描述", IsNullable = true)]
        public System.String memo { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        [SugarColumn(ColumnDescription = "是否启用")]
        public System.Boolean isEnable { get; set; }

        /// <summary>
        /// 线上的
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "tenantBalanceTypeId", IsNullable = true)]
        public Int64 tenantBalanceTypeId { get; set; }

        /// <summary>
        /// 收银机使用
        /// </summary>
        [SugarColumn(ColumnDescription = "收银机使用")]
        public System.Int32 posUsed { get; set; }

        /// <summary>
        /// 储值使用
        /// </summary>
        [SugarColumn(ColumnDescription = "储值使用")]
        public System.Int32 rechargeUsed { get; set; }

        /// <summary>
        /// Json内容
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "content", IsNullable = true)]
        public string content { get; set; }

        /// <summary>
        /// 图标
        /// </summary>
        [SugarColumn(ColumnDescription = "图标")]
        public System.Int32? symbol { get; set; }
    }
}
